/* fseek example */
#include <stdio.h>
#include <stdlib.h>

int main ()
{
  FILE * pFile;
  pFile = fopen ( "example.txt" , "w" );
  fputs ( "This is an apple." , pFile );
  fseek ( pFile , 9 , SEEK_SET );
  fputs ( " sam" , pFile );
  fputs ( " sam" , pFile );
  fclose ( pFile );
  char* addrBlock = (char*) malloc (5);
  addrBlock = "34897";
  unsigned long cobainyuk = strtoul(addrBlock,NULL,0);
  printf("%ld\n",cobainyuk);
  return 0;
}
